package com.ld.hpfs.pojo;

import com.ld.hpfs.pojo.Entity;

;

//票据
public class Invoice extends Entity {
	private Integer headId;
	private String orignal_doc_no;
	private double amount_cur_total;
	private double tax_amount;
	private int doc_status;// 拆分状态
	private String companyId;
	private String num;// 票据号
	private String date;// 票据日期
	private String type;
	private int mode;//计价方式
	private String custom;
	private String customTax;
	private String address;
	private String account;
	private String custCode;
	private String remark;
	private String seller;
	private String sellerTax;
	private String sellerAddress;
	private String sellerAccount;
	private String field1;
	private String field2;
	private String field3;
	private String field4;
	private String field5;
	private String field6;
	private String field7;
	private String field8;
	private String field9;
	private String field10;
	private String field11;
	private String field12;
	private String field13;
	private String field14;
	private String field15;
	private String field16;
	private String field17;
	private String field18;
	private String field19;
	private String field20;
	private String payee;
	private String checker;
	private String drawer;
	private double totalAmount;
	private double totalTax;
	private String tAmount;	
	private String tTax;
	private Integer totalLine;
	private String document_type;
	private Integer update_id;
	private String update_name;
	private String cust_name_chn;
	private String cust_name_eng;
	private String tax_code;
	private String bank_account;//
	private String import_code;
	private int cust_id;
	private String tax_control_type;
	private double amount_src_tatal;
	private String operator;
	private String remittee;
	private int doc_locked;
	private String goods_list_name;
	private String invoice_code;
	private String invoice_no;
	private String invoice_date;
	private String pribilling_ref_doc;
	private int void_flag;
	private int express_type;
	private String outcode;
	private String update_time;
	private int contactId;
	private int groupId;
	public static final String isMaxAmount = "_S";
	public static final String isSplitEd = "s";
	public static final String isMergStrM = "_m";;
	// isSplit
	public static final Short UNSPLIT = 0;
	public static final Short SPLITED = 6;
	// isMerge
	public static final Short UNMERGE = 0;
	public static final Short MERGED = 1;
	public static final String isMergStr = "_h0";
	public static final String isMergOrSplit = "_";
	public static final String isMerg = "h";
	public static final String mergClients = "_M0";

	public Integer getHeadId() {
		return headId;
	}

	public void setHeadId(Integer headId) {
		this.headId = headId;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getMode() {
		return mode;
	}

	public void setMode(int mode) {
		this.mode = mode;
	}

	public String getCustom() {
		return custom;
	}

	public void setCustom(String custom) {
		this.custom = custom;
	}

	public String getCustomTax() {
		return customTax;
	}

	public void setCustomTax(String customTax) {
		this.customTax = customTax;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getCustCode() {
		return custCode;
	}

	public void setCustCode(String custCode) {
		this.custCode = custCode;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSeller() {
		return seller;
	}

	public void setSeller(String seller) {
		this.seller = seller;
	}

	public String getSellerTax() {
		return sellerTax;
	}

	public void setSellerTax(String sellerTax) {
		this.sellerTax = sellerTax;
	}

	public String getSellerAddress() {
		return sellerAddress;
	}

	public void setSellerAddress(String sellerAddress) {
		this.sellerAddress = sellerAddress;
	}

	public String getSellerAccount() {
		return sellerAccount;
	}

	public void setSellerAccount(String sellerAccount) {
		this.sellerAccount = sellerAccount;
	}

	public String getField1() {
		return field1;
	}

	public void setField1(String field1) {
		this.field1 = field1;
	}

	public String getField2() {
		return field2;
	}

	public void setField2(String field2) {
		this.field2 = field2;
	}

	public String getField3() {
		return field3;
	}

	public void setField3(String field3) {
		this.field3 = field3;
	}

	public String getField4() {
		return field4;
	}

	public void setField4(String field4) {
		this.field4 = field4;
	}

	public String getField5() {
		return field5;
	}

	public void setField5(String field5) {
		this.field5 = field5;
	}

	public String getField6() {
		return field6;
	}

	public void setField6(String field6) {
		this.field6 = field6;
	}

	public String getField7() {
		return field7;
	}

	public void setField7(String field7) {
		this.field7 = field7;
	}

	public String getField8() {
		return field8;
	}

	public void setField8(String field8) {
		this.field8 = field8;
	}

	public String getField9() {
		return field9;
	}

	public void setField9(String field9) {
		this.field9 = field9;
	}

	public String getField10() {
		return field10;
	}

	public void setField10(String field10) {
		this.field10 = field10;
	}

	public String getField11() {
		return field11;
	}

	public void setField11(String field11) {
		this.field11 = field11;
	}

	public String getField12() {
		return field12;
	}

	public void setField12(String field12) {
		this.field12 = field12;
	}

	public String getField13() {
		return field13;
	}

	public void setField13(String field13) {
		this.field13 = field13;
	}

	public String getField14() {
		return field14;
	}

	public void setField14(String field14) {
		this.field14 = field14;
	}

	public String getField15() {
		return field15;
	}

	public void setField15(String field15) {
		this.field15 = field15;
	}

	public String getField16() {
		return field16;
	}

	public void setField16(String field16) {
		this.field16 = field16;
	}

	public String getField17() {
		return field17;
	}

	public void setField17(String field17) {
		this.field17 = field17;
	}

	public String getField18() {
		return field18;
	}

	public void setField18(String field18) {
		this.field18 = field18;
	}

	public String getField19() {
		return field19;
	}

	public void setField19(String field19) {
		this.field19 = field19;
	}

	public String getField20() {
		return field20;
	}

	public void setField20(String field20) {
		this.field20 = field20;
	}

	public String getPayee() {
		return payee;
	}

	public void setPayee(String payee) {
		this.payee = payee;
	}

	public String getChecker() {
		return checker;
	}

	public void setChecker(String checker) {
		this.checker = checker;
	}

	public String getDrawer() {
		return drawer;
	}

	public void setDrawer(String drawer) {
		this.drawer = drawer;
	}

	public double getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(double totalAmount) {
		this.totalAmount = totalAmount;
	}

	public String gettAmount() {
		return tAmount;
	}

	public void settAmount(String tAmount) {
		this.tAmount = tAmount;
	}

	public String gettTax() {
		return tTax;
	}

	public void settTax(String tTax) {
		this.tTax = tTax;
	}
	
	public double getTotalTax() {
		return totalTax;
	}

	public void setTotalTax(double totalTax) {
		this.totalTax = totalTax;
	}

	public Integer getTotalLine() {
		return totalLine;
	}

	public void setTotalLine(Integer totalLine) {
		this.totalLine = totalLine;
	}

	public String getOrignal_doc_no() {
		return orignal_doc_no;
	}

	public void setOrignal_doc_no(String orignal_doc_no) {
		this.orignal_doc_no = orignal_doc_no;
	}

	public int getDoc_status() {
		return doc_status;
	}

	public void setDoc_status(int doc_status) {
		this.doc_status = doc_status;
	}

	public String getDocument_type() {
		return document_type;
	}

	public void setDocument_type(String document_type) {
		this.document_type = document_type;
	}

	public double getAmount_cur_total() {
		return amount_cur_total;
	}

	public void setAmount_cur_total(double amount_cur_total) {
		this.amount_cur_total = amount_cur_total;
	}

	public double getTax_amount() {
		return tax_amount;
	}

	public void setTax_amount(double tax_amount) {
		this.tax_amount = tax_amount;
	}

	public Integer getUpdate_id() {
		return update_id;
	}

	public void setUpdate_id(Integer update_id) {
		this.update_id = update_id;
	}

	public String getUpdate_name() {
		return update_name;
	}

	public void setUpdate_name(String update_name) {
		this.update_name = update_name;
	}

	public String getCust_name_chn() {
		return cust_name_chn;
	}

	public void setCust_name_chn(String cust_name_chn) {
		this.cust_name_chn = cust_name_chn;
	}

	public String getCust_name_eng() {
		return cust_name_eng;
	}

	public void setCust_name_eng(String cust_name_eng) {
		this.cust_name_eng = cust_name_eng;
	}

	public String getTax_code() {
		return tax_code;
	}

	public void setTax_code(String tax_code) {
		this.tax_code = tax_code;
	}

	public String getBank_account() {
		return bank_account;
	}

	public void setBank_account(String bank_account) {
		this.bank_account = bank_account;
	}

	public String getImport_code() {
		return import_code;
	}

	public void setImport_code(String import_code) {
		this.import_code = import_code;
	}

	public int getCust_id() {
		return cust_id;
	}

	public void setCust_id(int cust_id) {
		this.cust_id = cust_id;
	}

	public String getTax_control_type() {
		return tax_control_type;
	}

	public void setTax_control_type(String tax_control_type) {
		this.tax_control_type = tax_control_type;
	}

	public double getAmount_src_tatal() {
		return amount_src_tatal;
	}

	public void setAmount_src_tatal(double amount_src_tatal) {
		this.amount_src_tatal = amount_src_tatal;
	}

	public String getOperator() {
		return operator;
	}

	public void setOperator(String operator) {
		this.operator = operator;
	}

	public String getRemittee() {
		return remittee;
	}

	public void setRemittee(String remittee) {
		this.remittee = remittee;
	}

	public int getDoc_locked() {
		return doc_locked;
	}

	public void setDoc_locked(int doc_locked) {
		this.doc_locked = doc_locked;
	}

	public String getGoods_list_name() {
		return goods_list_name;
	}

	public void setGoods_list_name(String goods_list_name) {
		this.goods_list_name = goods_list_name;
	}

	public String getInvoice_code() {
		return invoice_code;
	}

	public void setInvoice_code(String invoice_code) {
		this.invoice_code = invoice_code;
	}

	public String getInvoice_no() {
		return invoice_no;
	}

	public void setInvoice_no(String invoice_no) {
		this.invoice_no = invoice_no;
	}

	public String getInvoice_date() {
		return invoice_date;
	}

	public void setInvoice_date(String invoice_date) {
		this.invoice_date = invoice_date;
	}

	public String getPribilling_ref_doc() {
		return pribilling_ref_doc;
	}

	public void setPribilling_ref_doc(String pribilling_ref_doc) {
		this.pribilling_ref_doc = pribilling_ref_doc;
	}

	public int getVoid_flag() {
		return void_flag;
	}

	public void setVoid_flag(int void_flag) {
		this.void_flag = void_flag;
	}

	public int getExpress_type() {
		return express_type;
	}

	public void setExpress_type(int express_type) {
		this.express_type = express_type;
	}
	
	public String getOutcode() {
		return outcode;
	}

	public void setOutcode(String outcode) {
		this.outcode = outcode;
	}

	public String getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(String update_time) {
		this.update_time = update_time;
	}
	public int getGroupId() {
		return groupId;
	}

	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}

	public int getContactId() {
		return contactId;
	}

	public void setContactId(int contactId) {
		this.contactId = contactId;
	}

}
